Skip to content

bash-prg-hash: Initial implementation#751

Open
makavity wants to merge 20 commits intoRustCrypto:masterfrom
makavity:master
Open

bash-prg-hash: Initial implementation#751
makavity wants to merge 20 commits intoRustCrypto:masterfrom
makavity:master

Conversation

@makavity
Copy link
Copy Markdown
Contributor

@makavity makavity commented Nov 4, 2025

  1. I am not sure to assert in block_api
  2. I am not sure in new and new_with_empty_header functions.

@makavity
Copy link
Copy Markdown
Contributor Author

makavity commented Nov 4, 2025

I am also not sure, it should be implemented as prg-hash.
Because AEAD algorithm uses start, squeeze, absorb and encrypt functions. But it is correct to implement encrypt here and make block_api methods - pub?

Copy link
Copy Markdown
Member

@newpavlov newpavlov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the late review!

Some preliminary comments without looking deep at the implementation and the spec.

Comment thread bash-prg-hash/Cargo.toml Outdated
Comment thread bash-prg-hash/tests/mod.rs Outdated
Comment thread bash-prg-hash/tests/mod.rs Outdated
Comment thread bash-prg-hash/src/oids.rs Outdated
Comment thread bash-prg-hash/README.md Outdated
Comment thread bash-prg-hash/src/lib.rs Outdated
Comment thread bash-prg-hash/src/block_api.rs Outdated
Comment thread bash-prg-hash/src/block_api.rs Outdated
Comment thread bash-prg-hash/src/block_api.rs Outdated
Comment thread bash-prg-hash/src/block_api.rs Outdated
@makavity
Copy link
Copy Markdown
Contributor Author

Thanks for review, @newpavlov.
As I see, all fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants